package com.lucy.management.config.exception;


/**
 * 自定制异常类
 *
 * @author MoCha
 * @date 2019/5/25
 */
public class CustomException extends RuntimeException {
    private String message;

    public CustomException(String message) {
        super(message);
        this.message=message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
